package com.hotai.vo.userteacher;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserTeacherJin {
    private  Integer id;
    private  String  name;
    private String password;
    private String  phone;
    private String sname;
    private String img;
    private String nickname;
    private String openid;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm") //从数据库
    private Date  createDate;
}
